package org.coco24.pmstudio

import com.badlogic.gdx.scenes.scene2d.ui.Image
import com.kotcrab.vis.ui.widget.VisLabel
import com.kotcrab.vis.ui.widget.VisTable

class PokemonListEntry(val iconImage: Image = Image(), val nameLabel: VisLabel = VisLabel("???")): VisTable()
{
    constructor(): this(Image(GdxGame.getTextureRegion("icons/0.png")))
    init
    {
        add(iconImage).pad(5f)
        add(nameLabel).pad(5f)
        pack()
    }
}